package com.hs.t1;

public class WashingMachine  extends ElectricalAppliances{
    private String motorType;
    private double volume;

    public WashingMachine() {
    }

    public WashingMachine(String brand, String model, String color, double price, String motorType, double volume) {
        super(brand, model, color, price);
        this.motorType = motorType;
        this.volume = volume;
    }

    public String getMotorType() {
        return motorType;
    }

    public void setMotorType(String motorType) {
        this.motorType = motorType;
    }

    public double getVolume() {
        return volume;
    }

    public void setVolume(double volume) {
        this.volume = volume;
    }
}
